MDF
This section describes the MDF file preferences and shows how to handle these files and their contents.
Assessment import option for MDF files
Import array elements as array
Select this checkbox to import MDF files or signals matching the pattern signalname_[0]
, signalname_[1]
, signalname_[2]
, ...
, signalname_[max]
and join them automatically into one array signal signalname
with max+1
elements.
Append suffix to signal names
Append signal source path
Select this checkbox to append the signal source path (si_tx_path
of cn_si_source
) to the signal name. This feature is only available for files since MDF-4.0.
Import file comment from header block
Select this checkbox to import the file comment contained in the header block of the imported MDF file as string measurement signal. By default, the header block information is imported to a measurement named filecomment. You can change the name in the File comment signal name text field.
The header block file comment is only imported into a measurement signal when you import measurements via:
- Import Measurement assesslets, see Assesslet Types - Import Measurements
- Test case attributes of content type File, see Test Case Details - Edit Test Case Attributes
- shared measurement files specified in the Assessment Platform Configuration dialog, see Assessment Platform
The imported header block comment will be listed in the Signal Viewer but shows, like all string signals, no signal curve.
print <file comment name>(0);
to a Script assesslet. If you use the Import Measurement assesslet, the Script assesslet needs to be placed after the Import Measurement assesslet.Short struct element names
Remove paths from names of struct elements
By default, the checkbox is selected. The MDF4 importer removes the path prefix from struct element names for a better readability. When loading older TPT projects than TPT 16, the checkbox is deselected.
Maximum file size for last loading
File size in megabyte
To optimize the loading performance, the importer can load MDF files into heap memory. To avoid memory issues, you can specify a maximum file size up to which this feature is used. Note that this works in 64-bit versions of TPT only. The default threshold is set to 200 MB per MDF file.